package com.itheima.test;

import java.util.Scanner;

public class test3 {
    public static void main(String[] args) {
        //键盘录入两个整数，
        //如果其中一个为6，输出true
        //如果和为6的倍数，输出true
        //其他结果输出false

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int number1 = sc.nextInt();
        System.out.println("请输入第二个整数");
        int number2 = sc.nextInt();

        boolean result = number1 ==6 || number2 ==6 || (number1+number2)%6 ==0;
        System.out.println(result);
    }
}
